From: Florian Müllner Date: Thu, 13 Sep 2012 12:27:37 +0000 (+0200) Subject: recorder: Fix more fallout from session-mode changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5880 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ed82c3763ca5c00d3fc4bdd3848519b0ce0ec937;p=gnome-shell.git recorder: Fix more fallout from session-mode changes --- diff --git a/js/ui/components/recorder.js b/js/ui/components/recorder.js index 94c49ce40..69d8d6d14 100644 --- a/js/ui/components/recorder.js +++ b/js/ui/components/recorder.js @@ -36,13 +36,13 @@ const Recorder = new Lang.Class({ if (recorder.is_recording()) { recorder.close(); Meta.enable_unredirect_for_screen(global.screen); - } else if (!desktopLockdownSettings.get_boolean('disable-save-to-disk')) { + } else if (!this._desktopLockdownSettings.get_boolean('disable-save-to-disk')) { // read the parameters from GSettings always in case they have changed - recorder.set_framerate(recorderSettings.get_int('framerate')); + recorder.set_framerate(this._recorderSettings.get_int('framerate')); /* Translators: this is a filename used for screencast recording */ // xgettext:no-c-format - recorder.set_filename(_("Screencast from %d %t") + '.' + recorderSettings.get_string('file-extension')); - let pipeline = recorderSettings.get_string('pipeline'); + recorder.set_filename(_("Screencast from %d %t") + '.' + this._recorderSettings.get_string('file-extension')); + let pipeline = this._recorderSettings.get_string('pipeline'); if (!pipeline.match(/^\s*$/)) recorder.set_pipeline(pipeline);